package cn.glutnn.entity;


import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 购物车表(Cart)表实体类
 *
 * @author msh
 * @since 2024-12-12 16:53:25
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("cart")
public class Cart {
    //无意义编号
    @TableId
    private Integer cartId;

    //食品编号
    private Integer foodId;
    //所属商家编号
    private Integer businessId;
    //所属用户编号
    private Integer userId;
    //同一类型食品的购买数量
    private Integer quantity;

}

